<?php echo $this->form; ?>
<table class='spreadsheet'>
<thead>
<tr><th>&nbsp;</th><th>Dia</th><th>Valor</th>
</thead>
<tbody>

<?php foreach($this->data as $i => $v) { ?>

<tr>
<td><a href='/home/public/index.php/pagamento/update/id/<?php echo $v['id_pagamento'];?>'>Editar</a> |
<a href='/home/public/index.php/pagamento/delete/id/<?php echo $v['id_pagamento'];?>'>Deletar</a></td><td><?php echo $v['dia']; ?></td><td><?php echo $v['valor']; ?></td>
</tr>
	
<?php } ?>

</tbody>

</table>